package com.ruoyi.cms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章、链接和对应分类的关系对象 biz_wp_term_relationships
 * 
 * @author lorry
 * @date 2020-12-06
 */
public class WpTermRes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文章Id */
    private Long objectId;

    /** 分类Id */
    private Long termTaxonomyId;

    /** Term Order */
    @Excel(name = "Term Order")
    private Long termOrder;

    public void setObjectId(Long objectId) 
    {
        this.objectId = objectId;
    }

    public Long getObjectId() 
    {
        return objectId;
    }
    public void setTermTaxonomyId(Long termTaxonomyId) 
    {
        this.termTaxonomyId = termTaxonomyId;
    }

    public Long getTermTaxonomyId() 
    {
        return termTaxonomyId;
    }
    public void setTermOrder(Long termOrder) 
    {
        this.termOrder = termOrder;
    }

    public Long getTermOrder() 
    {
        return termOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("objectId", getObjectId())
            .append("termTaxonomyId", getTermTaxonomyId())
            .append("termOrder", getTermOrder())
            .toString();
    }
}
